package com.qunar.wan.task;

import com.google.common.base.Function;
import com.qunar.wan.common_api.model.User;

/**
 * User: devry Date: 12/27/13 Time: 2:54 PM
 */
public class UserFunction {
    /**
     * 获得用户邮箱
     */
    public static final Function<User, String> userToEmailFunction = new Function<User, String>() {
        @Override
        public String apply(User user) {
            return user.getEmail();
        }
    };

}
